Component({
    properties: {
        score: {
            type: null
        }
    },
    data: {
        itemClassesData: []
    },
    lifetimes: {
        attached: function() {
            var t = this.itemClasses();
            this.setData({
                itemClassesData: t
            });
        },
        moved: function() {},
        detached: function() {}
    },
    attached: function() {},
    ready: function() {},
    pageLifetimes: {
        show: function() {},
        hide: function() {},
        resize: function() {}
    },
    methods: {
        itemClasses: function() {
            for (var t = [], e = Math.floor(2 * this.data.score) / 2, s = e % 1 != 0, a = Math.floor(e), i = 0; i < a; i++) t.push("");
            if (s && t.push("half"), t.length < 5) for (var o = 5 - t.length, n = 0; n < o; n++) t.push("zo");
            return this.score <= .5 && (t = [ "", "", "", "", "" ]), t;
        }
    }
});